<template>
  <div>
    <ZgDialog :width="view.width" :top="view.top" :title="view.title" :showFooter="false" v-model="visible">
      <div>待设计</div>
    </ZgDialog>
  </div>
</template>
<script>
export default {
  props: {
    inputClick: {
      type: Function,
      default: (t) => {}
    }
  },
  data () {
    return {
      visible: false,
      view: {
        width: '80%',
        top: '5%',
        title: '详情'
      },
      obj: null,
      other: {}
    }
  },
  mounted () {},
  methods: {
    open (json) {
      this.obj = Object.assign({}, this.obj, json || {})
      console.log('获取的行数据', this.obj)
      this.visible = true
    }
  }
}
</script>

<style lang="scss" scoped>
</style>
